package com.xiaoyu.tool.repository.user;

import com.xiaoyu.tool.entity.User.UserAddress;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2017/8/24.
 */
@Repository
public interface UserAddressRepository extends JpaRepository<UserAddress,Long> {

    List<UserAddress> findByUserId(Long userId);

}
